/*
*   ConditionVariable.h
*   Author: Dustin Striplin
*   The condition variable contains a queue and is managed by the kernal
*/
#ifndef CONDITION_VARIABLE_H
#define CONDITION_VARIABLE_H
#include "Queue.h"

typedef struct condvar{
    QueuePtr waitingQueue;
    void(*destruct)(struct condvar*);
}CVStr;

typedef CVStr* CVPtr;

CVPtr conditionVariableConstructor(void);
void conditionVariableDestructor(CVPtr this);

#endif
